package cn.tool.dao.mapper;

import cn.tool.dao.pojo.NewOrg;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author 胖树
 * @since 2022-10-21
 */
public interface NewOrgMapper extends BaseMapper<NewOrg> {

    List<NewOrg> selectNewOrgByAreaAndName(@Param("area") String area, @Param("name") String name);

    List<NewOrg> selectByAreaCode(@Param("area") String area);
}
